package Homework.Top04;

public class UI extends UITeacher{
    public UI(String name,int age,int jiaoling,String sex){
        super(name,age,jiaoling,sex);
    }
    public void print(){
        System.out.println("老师叫"+getName()+" "+getSex()+" "+getAge()+"岁 "+" 工作了"+getJiaoling()+"年");
    }
    public void teach(){
        System.out.println("开始上课,教学内容PhotoShop");
    }
}
